<?php

use think\migration\Seeder;
use think\facade\Db;

class InsertSystemParamValue extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        DB::name('system_param_value')->insertAll([
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_site',
                'param_value'=>'{"site_name":"配置管理系统","site_logo":"","site_logo_title":"","seo_title":"配置管理系统","seo_keyword":"","seo_desc":"","customer":""}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_sms',
                'param_value'=> '{"sign_type":"normal","appid":"？","appkey":"？","SdkAppId":"1400565872","sign_name":"？","expire":120,"server":"https://api.mysubmail.com/","tmp_code":"？","content":"【纸巾全球】您的短信验证码：{code}，请在2分钟内输入。","type":"alisms"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_file',
                'param_value'=> '{"endpoint":"http://oss-cn-beijing.aliyuncs.com","accessKeyId":"LTAI5tAuoNymbvAptawTpby9","accessKeySecret":"aTCHiFDy8Pg2hT9MT6xooZYTiIhCoj","bucket":"zhiyeappversion","catalog":"zhijin/","type":"local"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_wx',
                'param_value'=> '{"appid":"","appsecret":"","token":"","encodingaeskey":"","serve_url":"/app/wx/serve","app_name":"","":"1","serve_type":"1"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_wx_web',
                'param_value'=> '{"mch_id":"1613772218","key":"","sub_mch_id":"","sub_appid":"","notify_url":"/wx/payNotify","refund_url":"/wx/payNotify","appid":"wx7552889cf223a6ab","token":"","appsecret":"","success_uri":"/h5/index.html","applets_appid":"","applets_appsecret":"","serve_url":"/app/wx/serve","jsdk_url":"/wx/serve","trade_type":"JSAPI"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_wx_applets',
                'param_value'=> '{"app_name":"","appid":"","appsecret":"","m_chid":"","key":"","file":"","serve_url":"/app/wx/serve","trade_type":"JSAPI"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'system_base_config_kuaidi',
                'param_value'=> '{"key":"1","customer":"2","secret":"","userid":"","type":"kuaidi100"}'
            ],
            [
                'param_scope'=>'系统基础配置',
                'param_code'=>'buss_company_config_introduce',
                'param_value'=> '{"head_bg":"http://yishe.wei.cn/uploads/20211130\\f9d37c694bd68721cc2979ecf95d703d.png","introduce_img":"http://yishe.wei.cn/uploads/20211130\\4f1c747d16785dc9b78dc5097bd6a83f.png","details":"<p>121212</p>","introduce_text":"萨达萨达撒","brand":"啊实打实多撒阿萨德撒大撒","situation":"阿萨德撒大撒阿萨德撒大大"}'
            ],
        ]);
    }
}